package com.gk.carshopsys.service;

import com.gk.carshopsys.pojo.Car;
import com.gk.carshopsys.pojo.CarOrder;
import com.gk.carshopsys.pojo.CarOrderImport;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.servlet.mvc.support.RedirectAttributesModelMap;

import java.util.HashMap;
import java.util.List;

public interface CarOrderService {

    //批量新增库存
    public int addCarByList(List<CarOrderImport> list);

    public List<CarOrder> findCarOrder(HashMap<String,String> params);

    public int addCarOrder(Long carid,Long custid,String empnum,Integer quantity,String state,String remarks);

    public int updateCarOrderById(CarOrder carOrder,Long quantity);

    //删除汽车订单
    public int delCarOrder(List<Integer> car);
}
